package com.ruoyi.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.web.domain.Projecttype;
import com.ruoyi.web.mapper.ProjecttypeMapper;
import com.ruoyi.web.service.IProjecttypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class IProjecttypeServiceImpl extends ServiceImpl<ProjecttypeMapper, Projecttype> implements IProjecttypeService {
    @Autowired
    private ProjecttypeMapper projecttypeMapper;

    @Override
    public List<Projecttype> selectProjecttypeList(Projecttype projecttype) {
        return projecttypeMapper.selectProjecttypeList(projecttype);
    }

    @Override
    public int insertProjecttype(Projecttype projecttype) {
        return projecttypeMapper.insertProjecttype(projecttype);
    }
}
